Skip to content

Declarative IR rewrite pattern infrastructure#147

Draft
maleadt wants to merge 1 commit intomainfrom
tb/rewrite
Draft

Declarative IR rewrite pattern infrastructure#147
maleadt wants to merge 1 commit intomainfrom
tb/rewrite

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Mar 26, 2026

This PR adds a generic pattern rewrite infrastructure (MLIR PDLL-inspired) and uses it to implement FMA fusion and scalar view elimination. This brings the FFT example performance on the same level as cuTile Python.

Mostly vibe-coded, but validated. Needs to be cleaned-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant